Error SQL: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '%3Cbr%20' at line 1

Query: SELECT r.* FROM category_services as r WHERE r.id = %3Cbr%20

File: /home/dev/www/amurmed.ru/html/core/Db.php Line: 70

Array
(
    [0] => Array
        (
            [file] => /home/dev/www/amurmed.ru/html/classes/Services.class
            [line] => 130
            [function] => getBySql
            [class] => DB
            [type] => ->
            [args] => Array
                (
                    [0] => SELECT r.* FROM category_services as r WHERE r.id = %3Cbr%20
                )

        )

    [1] => Array
        (
            [file] => /home/dev/www/amurmed.ru/html/classes/ServicesController.class
            [line] => 92
            [function] => viewArticle
            [class] => Services
            [type] => ->
            [args] => Array
                (
                    [0] => %3Cbr%20
                )

        )

    [2] => Array
        (
            [file] => /home/dev/www/amurmed.ru/html/includes/App.php
            [line] => 143
            [function] => defaultAction
            [class] => ServicesController
            [type] => ->
            [args] => Array
                (
                    [0] => Array
                        (
                            [user] => 0
                            [url_data] => Array
                                (
                                    [0] => services
                                    [1] => %3Cbr%20
                                    [2] => %3E%3Cb%3ENotice%3C
                                    [3] => b%3E:%20%20Trying%20to%20get%20property%20of%20non-object%20in%20%3Cb%3E
                                    [4] => home
                                    [5] => dev
                                    [6] => www
                                    [7] => amurmed.ru
                                    [8] => html
                                    [9] => templates
                                    [10] => service_body.tpl%3C
                                    [11] => b%3E%20on%20line%20%3Cb%3E50%3C
                                    [12] => b%3E%3Cbr%20
                                    [13] => %3E
                                )

                            [get_params] => Array
                                (
                                )

                        )

                )

        )

    [3] => Array
        (
            [file] => /home/dev/www/amurmed.ru/html/index.php
            [line] => 9
            [function] => run
            [class] => App
            [type] => ->
            [args] => Array
                (
                )

        )

)